﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Volo.Abp.Application.Dtos;
using Volo.Abp.DependencyInjection;

namespace Himp.Outpatient
{
    public class OtpRgstRecController : OutpatientController
    {
        private IOtpRgstTypeService _otpRgstTypeService;

        public OtpRgstRecController(IOtpRgstTypeService otpRgstTypeService)
        {
            _otpRgstTypeService = otpRgstTypeService;
        }

        public async Task<PagedResultDto<OtpRgstTypeDto>> GetOtpRgstTypeListAsync(OtpRgstTypeInput input)
        {
            var list = await _otpRgstTypeService.GetListAsync(input);

            return list;
        }
    }
}
